﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/Vista/SiteAdministrador.Master" AutoEventWireup="true" CodeBehind="PantallaCalendario.aspx.cs" Inherits="SistemaBettingDT.GUI.Vista.PantallaCalendario" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel='stylesheet' type='text/css' href='http://arshaw.com/js/fullcalendar-1.5.2/fullcalendar/fullcalendar.css' />

        <script type='text/javascript' src='http://arshaw.com/js/fullcalendar-1.5.2/jquery/jquery-1.5.2.min.js'></script>
        <script type='text/javascript' src='http://arshaw.com/js/fullcalendar-1.5.2/jquery/jquery-ui-1.8.11.custom.min.js'></script>
        <script type='text/javascript' src='http://arshaw.com/js/fullcalendar-1.5.2/fullcalendar/fullcalendar.min.js'></script>
        <script type='text/javascript'>

            $(document).ready(function () {

                var date = new Date();
                var d = date.getDate();
                var m = date.getMonth();
                var y = date.getFullYear();

                $('div[id*=calendar]').fullCalendar({
                    header: {
                        left: 'prev,next today',
                        center: 'title',
                        right: 'month,agendaWeek,agendaDay'
                    },
                    editable: true,
                    events: [
                                {
                                    title: 'All Day Event',
                                    start: new Date(y, m, 1)
                                },
                                {
                                    title: 'Long Event',
                                    start: new Date(y, m, d - 5),
                                    end: new Date(y, m, d - 2)
                                },
                                {
                                    id: 999,
                                    title: 'Repeating Event',
                                    start: new Date(y, m, d - 3, 16, 0),
                                    allDay: false
                                },
                                {
                                    id: 999,
                                    title: 'Repeating Event',
                                    start: new Date(y, m, d + 4, 16, 0),
                                    allDay: false
                                },
                                {
                                    title: 'Meeting',
                                    start: new Date(y, m, d, 10, 30),
                                    allDay: false
                                },
                                {
                                    title: 'Lunch',
                                    start: new Date(y, m, d, 12, 0),
                                    end: new Date(y, m, d, 14, 0),
                                    allDay: false
                                },
                                {
                                    title: 'Birthday Party',
                                    start: new Date(y, m, d + 1, 19, 0),
                                    end: new Date(y, m, d + 1, 22, 30),
                                    allDay: false
                                },
                                {
                                    title: 'Click for Google',
                                    start: new Date(y, m, 28),
                                    end: new Date(y, m, 29),
                                    url: 'http://google.com/'
                                }
                        ]
                });

            });

        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContenidoAdministrador" runat="server">
    <table width="823" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="LeftContent"><table width="201" height="36" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="201" height="31" class="LeftHeader Medium"><strong>opciones Calendario</strong></td>
      </tr>
      <tr>
        <td height="5"><img src="Style/Images/sperator.gif" width="201" height="5" alt="Seperator"/></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Agregar </a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Consultar </a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Actualizar</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Eliminar</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Resultados</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="#" class="black">Calendario</a></td>
      </tr>
   
      <tr>
        <td><img src="Style/Images/left_bottom.gif" width="201" height="6" alt="Bottom"/></td>
      </tr>
    </table>
      </td>
    <td class="RightContent">
        <div id="calendar" style="width:600px">
    </div>
  </tr>
</table>
</asp:Content>
